const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  roles: state => state.user.roles,
  permission_routes: state => state.permission.routes,
  productList: state => state.products.list,
  productTotal: state => state.products.total,
  productLoading: state => state.products.loading,
  productCategories: state => state.products.categories,
  salesList: state => state.sales.list,
  salesTotal: state => state.sales.total,
  salesLoading: state => state.sales.loading,
  salesStatistics: state => state.sales.statistics,
  salesReport: state => state.sales.report,
  inventoryList: state => state.inventory.list,
  inventoryTotal: state => state.inventory.total,
  inventoryLoading: state => state.inventory.loading,
  inventoryInList: state => state.inventory.inList,
  inventoryInTotal: state => state.inventory.inTotal,
  inventoryOutList: state => state.inventory.outList,
  inventoryOutTotal: state => state.inventory.outTotal
}

export default getters 